package com.lvchenglong.configcenter;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class TestConfiguration {
    public TestConfiguration() {
    }

    @Value("${my.name}")
    private String name;

    @Value("${my.number}")
    public Integer myint;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
